home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 August: Tool Chest / Dev.CD Aug 98 TC.toast / What's New? / Software Development Kits / Mac OS USB DDK / MacOS USB DDK 1.0b4 / NeptuneDDK / Examples / KeyboardModule / KeyboardModule.make < prev    next >
Encoding:
Text File  |  1998-06-26  |  2.9 KB  |  91 lines  |  [TEXT/MPS ]

  1. #
  2. #    File:        KeyboardModule.make
  3. #
  4. #    Contains:    Make file for Keyboard HID Module
  5. #
  6. #    Version:    xxx put version here xxx
  7. #
  8. #    Copyright:    © 1997-1998 by Apple Computer, Inc., all rights reserved.
  9. #
  10. #
  11.  
  12. MAKEFILE     = KeyboardModule.make
  13. •MondoBuild• = {MAKEFILE}  # Make blank to avoid rebuilds when makefile is modified
  14. Includes     = -i {USBInterfacesInternal},{USBInterfacesExternal}
  15. Sym•PPC      = -sym on 
  16. KeyboardModuleTarget    = {USBTargets}Drivers:USBHIDKeyboardModule
  17.  
  18. PPCCOptions  = {Includes} {Sym•PPC} {NeptuneCOptions}
  19.  
  20. LinkPPC        =    PPCLink
  21.  
  22. Objects•PPC    =    "{USBObjects}KeyboardModule.c.o"                ∂
  23.                 "{USBObjects}KeyboardModuleHeader.c.o"             ∂
  24.                 "{USBObjects}KBDHIDEmulation.c.o"                 ∂
  25.                 "{USBObjects}KeyIn.c.o"                         ∂
  26.                 "{USBObjects}KBDConfigParse.c.o"
  27.  
  28. KeyboardModule ƒƒ "{USBReleaseExtensions}USBHIDKeyboardModule"  
  29.  
  30. "{USBReleaseExtensions}USBHIDKeyboardModule" ƒ  "{KeyboardModuleTarget}" 
  31.         duplicate -y "{KeyboardModuleTarget}"  {Targ}
  32.         
  33. {KeyboardModuleTarget}    ƒƒ    {•MondoBuild•}  {Objects•PPC}        ∂
  34.                 "{USBInterfacesInternal}USBHIDModule.exp"
  35.     delete -i "{Targ}.xcoff"
  36.     delete -i "{Targ}.dbg"
  37.     {LinkPPC}                                                    ∂
  38.         -map "{USBMapDir}USBHIDKeyboardModule.map"                ∂
  39.         -t 'ndrv'                                                ∂
  40.         -c 'usbd'                                                ∂
  41.         -o {KeyboardModuleTarget} {Sym•PPC}                     ∂
  42.         {Objects•PPC}                                             ∂
  43.         -xm sharedlibrary                                        ∂
  44.         -share context                                            ∂
  45.         -@export "{USBInterfacesInternal}USBHIDModule.exp"        ∂
  46.         "{USBLibraries}USBServicesLib"                             ∂
  47.         "{SharedLibraries}InterfaceLib"                         ∂
  48.         "{PPCLibraries}PPCCRuntime.o"
  49.  
  50.  
  51. {KeyboardModuleTarget}    ƒƒ    "{USBInterfacesInternal}PackageVersion.h"    ∂
  52.                         "KeyboardModuleVersion.h"                ∂
  53.                         "KeyboardModule.r"                        ∂
  54.                         {•MondoBuild•}
  55.     Rez                                                            ∂
  56.         -i "{USBInterfacesInternal}"                            ∂
  57.         -i "{RIncludes}"                                        ∂
  58.         "{RIncludes}Types.r"                                    ∂
  59.         "KeyboardModule.r"                                        ∂
  60.         -a                                                        ∂
  61.         -o {Targ}
  62.         
  63. "{USBObjects}KeyboardModuleHeader.c.o"    ƒ    "KeyboardModuleHeader.c"                ∂
  64.                                             "{USBInterfacesExternal}USB.h"                ∂
  65.                                             "{USBInterfacesInternal}PackageVersion.h"        ∂
  66.                                             "KeyboardModuleVersion.h"                ∂
  67.                                             "KeyboardModule.h"
  68.     {PPCC} KeyboardModuleHeader.c -o {Targ} {PPCCOptions}
  69.  
  70. "{USBObjects}KeyboardModule.c.o"    ƒ    "KeyboardModule.c"    ∂
  71.                                         "{USBInterfacesExternal}USB.h"                ∂
  72.                                         "KeyboardModule.h"
  73.     {PPCC} KeyboardModule.c -o {Targ} {PPCCOptions}
  74.  
  75. "{USBObjects}KBDHIDEmulation.c.o"    ƒ    "KBDHIDEmulation.c"    ∂
  76.                                         "{USBInterfacesExternal}USB.h"                ∂
  77.                                         "KeyboardModule.h"
  78.     {PPCC} KBDHIDEmulation.c -o {Targ} {PPCCOptions} -d DDKBuild
  79.  
  80. "{USBObjects}KeyIn.c.o"    ƒ    "KeyIn.c"
  81.     {PPCC} KeyIn.c -o {Targ} {PPCCOptions}
  82.  
  83. "{USBObjects}KBDConfigParse.c.o"    ƒ    "KBDConfigParse.c"        ∂
  84.                                         "{USBInterfacesExternal}USB.h"                ∂
  85.                                         "KeyboardModule.h"
  86.     {PPCC} KBDConfigParse.c -o {Targ} {PPCCOptions}
  87.  
  88. Clean ƒƒ
  89.     Delete -i {Objects•PPC}
  90.     Delete -i {KeyboardModuleTarget} 
  91.     Delete -i "{USBReleaseExtensions}USBHIDKeyboardModule"